﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
      [CustomAttribute(TableName = "pi_ProductionPlan_info", Description = "生产计划信息主表")]
   public class DbProductionPlan
    {
        private int? _id;
        private string _plcode;
        private string _customers;
        private string _pltype;
        private string _number = "0";
        private string _unit;
        private string _status;
        private string _finishdate;
        private string _relationorder;
        private string _u8order;
        private string _createtime;
        private string _createuser;
        private int? _isdel = 0;
        private string _deldate;
        private string _deluser;
        private string _memo;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string plCode
        {
            set { _plcode = value; }
            get { return _plcode; }
        }
        /// <summary>
        /// 关联客户
        /// </summary>
        public string customers
        {
            set { _customers = value; }
            get { return _customers; }
        }
        /// <summary>
        /// 计划类型
        /// </summary>
        public string plType
        {
            set { _pltype = value; }
            get { return _pltype; }
        }
        /// <summary>
        /// 计划生产数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 计划状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 完成日期
        /// </summary>
        public string finishDate
        {
            set { _finishdate = value; }
            get { return _finishdate; }
        }
        /// <summary>
        /// 关联单据编码(U8)
        /// </summary>
        public string relationOrder
        {
            set { _relationorder = value; }
            get { return _relationorder; }
        }
        /// <summary>
        /// 是否是U8关联单据
        /// </summary>
        public string u8Order
        {
            set { _u8order = value; }
            get { return _u8order; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 删除标识
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 删除日期
        /// </summary>
        public string delDate
        {
            set { _deldate = value; }
            get { return _deldate; }
        }
        /// <summary>
        /// 删除人
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
          /// <summary>
          /// 计划状态
          /// </summary>
        public string pLevel { get; set; }
        /// <summary>
        /// 计划审批状态
        /// </summary>
        public string pStatus { get; set; }
        public int? needPack { get; set; }
    }
}
